package com.ruoyi.project.lely.bean.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;


/**
 * 用户表单
 *
 * @author luoyong
 */
@Data
@ApiModel("用户表单 出参VO")
public class LyUserFormidVO {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("缓存的FormId")
    private String formId;

    @ApiModelProperty("是FormId还是prepayId")
    private Integer isprepay;

    @ApiModelProperty("可用次数，fromId为1，prepay为3，用1次减1")
    private Integer useAmount;

    @ApiModelProperty("过期时间，腾讯规定为7天")
    private LocalDateTime expireTime;

    @ApiModelProperty("微信登录openid")
    private String openId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;

}
